import Vue from 'vue'
import VueAMap from 'vue-amap';
import ElementUI from 'element-ui';
import App from './Home.vue';
import router from './home/homerouter'
import config from './config'
import 'element-ui/lib/theme-chalk/index.css';
Vue.prototype.$config = config
Vue.use(ElementUI);
Vue.use(VueAMap);
VueAMap.initAMapApiLoader({
    key: config.amap.key,
    plugin: ['AMap.ToolBar','AMap.AdvancedInfoWindow'],
    v:'1.4.15',
    uiVersion:'1.1'
})
const app = new Vue({
    el: '#app',
    router,
    render: h => h(App)
})